home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: RE>"ICE" Proposed Standard: Notification when a window clos
- Sent: 6/4/96 2:07 PM
- Received: 6/4/96 1:41 PM
- From: Steven T. Roussey, steven.roussey@partmerchant.com
- Reply-To: OpenDoc-Interest@CILabs.ORG
- To: OpenDoc Related Technologies Interest List, OpenDoc-Interest@CILabs
-
- At 3:15 PM -0400 6/4/96, Rob Cope wrote:
- >>>>
- I agree with this completely. However, to truely achieve an "intrinsic
- content editing" standard (nice name), the standard will have to be much
- broader than what you have proposed so far. Your proposal only covers
- communication of window open/close. This seems much too narrow, since not
- every part that wants to allow the editing of intrinsic content will
- necessarily want that to happen in a seperate window. Also, there are
- several reasons why other developers may not want window closing to be the
- only API for saving changes. Is there another reason you care about the
- window being closed? I would imagine that ultimately your button doesn't
- care if the editing environment is open or closed, it really just wants the
- most recent data.
- <<<<
-
-
- I can imagine some reasons why a part (like button) would want to know if
- the ICE is still opened. Take the button example. What if the script is
- open in a window and edited, and someone drags and drops a script file on
- the button. The button should not allow this if the script is open in a
- window.
-
- I can see three kinds of notification that part may need from an ICE:
-
- 1. Window closed
- 2. Data updated (save-style updating)
- 3. Continuous data update notification (live updating)
-
-
- >>>>
- I can think of two things that would help achieve this more broadly:
-
- 1) Have a standard mechanism that parts can use to "register" for
- notification when another part changes its data (probably ODExtensions).
- Thus, your button would get notification when the text editor saves the
- script text, or sound editor saves the sound data. In this case, what
- triggers the save (close window, menu item, button, save document,
- whatever) is up to the editor changing the data (though I would lobby
- strongly for a standard HI spec for this).
-
- 2) I believe your idea for scripts was to create an ODStorageUnit with a
- text property, bind a text editor to it, then read the text back out when
- it was done. For this to work editor developers would have to make sure
- they write all the same formats they read (not necessarily bad, but has to
- be noted). Another option would be to work out a standard API for
- specifying the type of data you want the embedded editor to give you. Then
- you could ask the editor for the type of data you want when you get
- notification that data has changed (or if you know the window is still open
- and the user tries to use the data, or whatever). You could do this
- through a well defined ODExtension interface, or using a semantic
- interface. To save on RAM, it could be implemented by passing the data in
- a storage unit.
-
- These two together could look a lot like the linking API, and maybe even be
- an extension of or complement to it.
- <<<<
-
-
- Very much so...
-
- -steve-
-
- --------------------------------------------------------------------------
- Steven T. Roussey
-
- Kantara Development The Part Merchant
- http://www.kantara.com/ http://www.partmerchant.com/
- 'Information On Demand' 'OpenDoc Software On Demand'
- --------------------------------------------------------------------------
- "Creativity thinks new things. Innovation does new things"
- --Theodore Levitt
-
-